Factoring using Difference of squares